package blueprint4j.license;

import java.util.Properties;

public interface License {

	enum Types {
		Basic{
			public License getInstance(Properties properties){
				return new LicenseProperties(properties);
			}
		};
		
		abstract public License getInstance(Properties properties);	
	};
	
	public abstract boolean validate(Properties codeProperties);
	public abstract Properties generateCode(Properties properties);
}